package util;

import java.util.Random;

public class Rand {
	public int getRand(int max){
		Random r=new Random();
		return r.nextInt(max);
	}
	
	public boolean isBingoIn10000(int chance){
		Random r=new Random();
		int rand=r.nextInt(10000);
		if(rand<chance){
			return true;
		}else{
			return false;
		}
	}
}
